//页面的组件，公共样式
.flex-wrap{
    display: flex;
}
.btnGroup1{
    position: relative;
    padding-bottom: 20px;
    .pagination{
        height: 10px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        text-align: center;
        padding: 0;
        margin: 0;
        line-height: 10px;
        span{
            height: 8px;
            width: 8px;
            background: #000;
            border-radius: 8px;
            display: inline-block;
            opacity: 0.3;
            &.is-active{
                opacity: .5;
            }
        }
    }
    &.is-col3{
        .btnGroup1-itm{
            width: 33.33%;
        }
    }
    &.is-col5{
        .btnGroup1-itm{
            width: 20%;
        }
    }
    &.is-circle{
        .btnGroup1-itm__img{
            border-radius: 44px;
        }
    }
    &.is-radius{
        .btnGroup1-itm__img{
            border-radius: 10px;
        }
    }
}
.btnGroup1-itm__icon{
    height: 44px;
    margin: auto;
    text-align: center;
    line-height: 44px;
}
.btnGroup1-itm__img{
    height: 44px;
    width: 44px;
}
.btnGroup1-itm__txt{
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px;
    color: #7a7a7a;
}
.btnGroup1-itm{
    width: 25%;
    height: auto;
    position: relative;
    padding: 0;
    margin: 10px 0 0;
    text-align: center;
    transition: background-color 300ms;
    -webkit-transition: background-color 300ms;
    float: left;
    border: none !important;
}
.btnGroup2{
    height: auto;
    margin-top: .5rem;
    .btnGroup2-itm{
        padding: 0.5rem;
        text-align: center;
        position: relative;
        color: #666;
        font-size: 0.75rem;
        width: 1%;
        display: table-cell;
        -webkit-user-select: none;
        -moz-user-select: none;
        transition: background-color 300ms;
        -webkit-transition: background-color 300ms;
        &:before{
            content: '';
            position: absolute;
            left: 0;
            top: 0.5rem;
            bottom: 0.5rem;
            border-left: 1px solid #eee;
        }
    }
}
.navList{
    padding: 0 10px;
    .navListItm:last-child{
        border-bottom: 0 none;
    }
}
.navListItm{
    position: relative;
    padding: 8px;
    display: flex;
    align-items: center;
    transition-duration: 300ms;
    transition-property: background-color;
    border-bottom: 1px solid #e5e5e5;
}
.navListItm__icon{
    margin-right: 6px;
}
.navListItm__tip{
    color: #666;
}
.navListItm__txt{
    flex: 1;
}
.tabsList{
    align-self: center;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 2px;
    position: relative;
}
.tabsListItm{
    color: #666;
    font-size: 14px;
    width: 100%;
    height: 38px;
    line-height: 38px;
    flex: 1;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    text-align: center;
    .is-active{
        color: #ef4f4f;
        border-color: #ef4f4f;
        z-index: 2;
    }
}
.diyMenu{
    align-self: center;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
}
.diyMenu{
    .diyMenuItm:last-child{
        border-right: 0 none;
    }
}
.diyMenuItm{
    height: 50px;
    width: 25%;
    display: block;
    float: left;
    position: relative;
    cursor: pointer;
    border-right: 1px solid #fff;
    text-align: center;
    .is-col1{
        width: 100%;
    }
    .is-col2{
        width: 50%;
    }
    .is-col3{
        width: 33.33%;
    }
    .is-col4{
        width: 25%;
    }
    .is-col5{
        width: 20%;
    }
    img{
        height: 100%;
        max-width: 100%;
    }
    .icon{
        display: block;
        height: 30px;
        line-height: 36px;
        text-align: center;
    }
    .text{
        display: block;
        font-size: 12px;
        color: #999;
        overflow: hidden;
        text-align: center;
        height: 20px;
        line-height: 16px;
    }
}
.imgSlider{
    position: relative;
    ._imgLst{
        width: 100%;
        position: relative;
        overflow: hidden;
        height: 182px;
        line-height: 182px;
    }
    ._imgItm{
        width: 100%;
        height: 182px;
    }
    ._imgNo{
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 14px;
        line-height: 14px;
        margin-bottom: 5px;
        padding: 0 5px;
        &.left{
            text-align: left;
        }
        &.center{
            text-align: center;
        }
        &.right{
            text-align: right;
        }
        &.circle{
            ._imgNoItm{
                border-radius: 50%;
            }    
        }
        &.rectangle{
            ._imgNoItm{
                width: 25px;
            }    
        }
        &.square{
            ._imgNoItm{
                border-radius: 0;
            }    
        }
    }
    
    ._imgNoItm{
        margin: 0 5px;
        display: inline-block;
        height: 10px;
        width: 10px;
        
    }
}
.sinPicture{
    width: 100%;
    overflow: hidden;
    ._imgItm{
        padding: 0;
        img{
            width: 100%;
            display: block;
        }
    }
}
.pictureShow{
    img{
        width: 100%;
        height: 100%;
    }
    ._imgCube{
        height: 0;
        width: 100%;
        margin: 0;
        padding-bottom: 50%;
        position: relative;
    }
    ._imgCube__left{
        width: 50%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    ._imgCube__right{
        width: 50%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 50%;
    }
    ._imgCube__right1{
        width: 100%;
        height: 50%;
        position: absolute;
        top: 0;
        left: 0;
    }
    ._imgCube__right2{
        width: 100%;
        height: 50%;
        position: absolute;
        top: 50%;
        left: 0;
    }
    ._imgCube__right21{
        width: 50%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    ._imgCube__right22{
        width: 50%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 50%;
    }
    .pagination{
        height: 10px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        text-align: center;
        padding: 0;
        margin: 0;
        line-height: 10px;
        span{
            height: 8px;
            width: 8px;
            background: #000;
            border-radius: 8px;
            display: inline-block;
            opacity: 0.3;
            &.is-active{
                opacity: .5;
            }
        }
    }
    ._imgList{
        height: auto;
        display: block;
        overflow: hidden;
        ._imgListItm{
            height: auto;
            width: 100%;
            display: block;
            float: left;
            img{
                display: block;
                max-width: 100%;
                max-height: 100%;
            }
        }
        &.col2{
            ._imgListItm{
                width: 50%;
            }
        }
        &.col3{
            ._imgListItm{
                width: 33.33%;
            }
        }
        &.col4{
            ._imgListItm{
                width: 25%;
            }
        }
    }
}
.pictureShow2{
    height: auto;
    display: block;
    overflow: hidden;
    ._imgItm{
        height: auto;
        width: 100%;
        display: block;
        float: left;
        img{
            display: block;
            max-width: 100%;
            max-height: 100%;
        }
    }
    ._imgCon{
        position: relative;
    }
    ._text1{
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        font-size: 12px;
        height: 24px;
        line-height: 16px;
        color: #fff;
        padding: 5px 5px 1px;
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 100%);
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    ._text2{
        font-size: 12px;
        height: 24px;
        line-height: 24px;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 5px;
    }
    &.col1{
        ._imgItm{
            width: 100%;
        }
    }
    &.col2{
        ._imgItm{
            width: 50%;
        }
    }
    &.col3{
        ._imgItm{
            width: 33.33%;
        }
    }
    &.col4{
        ._imgItm{
            width: 25%;
        }
    }
    &.col5{
        ._imgItm{
            width: 20%;
        }
    }
}
.video{
    height: 171px;
    width: 100%;
    background: #eee;
    position: relative;
    background-image: url(~@/assets/images/videocover.png);
    background-size: 100% 100%;
    &.style1{
        height: 228px;
    }
    &.style2{
        height: 304px;
    }
    &:before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1;
    }
    &:after{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url(~@/assets/images/video_play.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 60px;
        z-index: 2;
    }
}
.noticeBar{
    height: auto;
    font-size: 16px;
    background: #fff;
    padding: 6px;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    ._image{
        display: block;
        height: 24px;
        line-height: 24px;
        width: auto;
        position: relative;
        float: left;
        padding-right: 5px;
        &:before{
            content: " ";
            position: absolute;
            width: 0;
            top: 2px;
            right: 0;
            bottom: 2px;
            border-right: 1px solid #e2e2e2;
        }
        img{
            height: 70%;
            width: auto;
            float: left;
            margin-top: 4px;
        }
    }
    ._icon{
        height: 20px;
        padding-left: 4px;
        float: left;
        color: #fd5454;
        line-height: 22px;
    }
    ._text{
        height: 24px;
        padding-left: 4px;
        font-size: 12px;
        color: #333;
        line-height: 24px;
        overflow: hidden;
    }
}
.diyProduct{
    padding: 4px;
    ._proItem{
        position: relative;
        height: auto;
        padding: 10px;
        border-bottom: 1px solid #e7e7e7;
        background: #fff;
        overflow: hidden;
        display: flex;
    }
    ._detail{
        flex: 1;
        background: #fff;
        padding-left: 10px;
    }
    ._image{
        height: 115px;
        width: 115px;
        float: left;
        background-size: 100%;
        position: relative;
        overflow: hidden;
        ._iconImg{
            position: absolute;
            height: auto;
            width: auto;
            display: block;
            overflow: hidden;
            img{
                display: inline-block;
                max-width: 100%;
            }
        }
        ._iconSys{
            &.style1{
                position: absolute;
                width: 68px;
                height: 48px;
                background: #ff5555;
                z-index: 10;
                transform-origin: left bottom;
                transform: rotate(-45deg);
                color: #fff;
                line-height: 76px;
                font-size: 12px;
                text-align: center;
            }
            &.style2{
                position: absolute;
                width: 32px;
                height: 32px;
                background: #ffb805;
                z-index: 10;
                text-align: center;
                border-radius: 50%;
                color: #fff;
                font-size: 12px;
                line-height: 32px;
            }
            &.style3{
                position: absolute;
                width: 32px;
                height: 32px;
                background: #19dbab;
                z-index: 10;
                text-align: center;
                color: #fff;
                font-size: 12px;
                line-height: 32px;
            }
            &.style4{
                position: absolute;
                height: 20px;
                width: 68px;
                background: #ff7104;
                top: 28px;
                color: #fff;
                font-size: 12px;
                line-height: 20px;
                text-align: center;
                transform: rotate(-45deg);
                transform-origin: left bottom;
            }
            &.style5{
                position: absolute;
                width: 45px;
                height: 20px;
                background: #04a6f8;
                z-index: 10;
                text-align: center;
                color: #fff;
                font-size: 12px;
                line-height: 20px;
            }
        }
    }
    &.slider{
        display: flex;
    }
    &.normal,&.slider{
        ._proItem{
            float: left;
            border-bottom: 0;
            background: none;
            padding: 5px 3px;
            display: block;
        }
        ._image{
            width: 100%;
            height: 0;
            overflow: hidden;
            margin: 0;
            padding-bottom: 100%;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        ._detail{
            padding: 4px;
            overflow: hidden;
        }
        ._detail__name{
            height: 26px;
            font-size: 14px;
            color: #262626;
            overflow: hidden;
        }
        ._detail__priold{
            height: 24px;
            line-height: 24px;
        }
        ._detail__pricur{
            margin-top: 3px;
        }
        &.col1{
            ._proItem{
                width: 100%;
                float: none;
            }
        }
        &.col2{
            ._proItem{
                width: 50%;
            }
        }
        &.col3{
            ._proItem{
                width: 33.33%;
            }
        }
    }
}
.diyProduct.list{
    display: block;
    ._proItem{
        width: 100%;
        position: relative;
        height: auto;
        padding: 10px;
        border-bottom: 1px solid #e7e7e7;
        background: #fff;
        overflow: hidden;
        display: flex;
    }
    ._image{
        width: 115px;
        height: 115px;
        padding-bottom: 0;
        float: left;
    }
    ._detail{
        float: left;
        background: #fff;
        padding-left: 10px;
        flex: 1;
    }
    ._detail__name{
        height: 60px;
        font-size: 14px;
        color: #262626;
        overflow: hidden;
    }
    ._detail__priold{
        height: 24px;
        line-height: 24px;
    }
    ._detail__pricur{
        margin-top: 6px;
    }
}
.diyCase{
    height: auto;
    display: block;
    overflow: hidden;
    &.col1{
        .diyCaseItm{
            width: 100%;
        }
    }
    &.col2{
        .diyCaseItm{
            width: 50%;
        }
    }
    &.col3{
        .diyCaseItm{
            width: 33.33%;
        }
    }
    &.col4{
        .diyCaseItm{
            width: 25%;
        }
    }
    &.col5{
        .diyCaseItm{
            width: 20%;
        }
    }
    .diyCaseItm{
        height: auto;
        width: 100%;
        display: block;
        float: left;
        ._image{
            position: relative;
            img{
                display: block;
                max-width: 100%;
                max-height: 100%;
            }   
        }
        ._text{
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            line-height: 20px;
            color: #fff;
            padding: 8px 3px 1px;
            font-size: 12px;
            background: linear-gradient(to top, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 100%);
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}
.pageBtn{
    position: relative;
    &:before,&:after{
        position: absolute;
        top: 50%;
        height: 30px;
        width: 20px;
        line-height: 30px;
        margin-top: -15px;
        text-align: center;
        color: #fff;
        font-size: 14px;
        background: rgba(0,0,0,.3);
    }
    &:before{
        content: '<';
        left: 0;
    }
    &:after{
        content: '>';
        right: 0;
    }
}
.jobList{
    .jobListItm{
        ._content{
            padding: 10px;
            background: #fff;
            border-radius: 3px;
        }
        ._title{
            display: flex;
            justify-content: space-between;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        ._desc{
            display: flex;
            justify-content: space-between;
            font-size: 14px;
        }
    }
}
.articeLst{
    position: relative;
    min-height: 50px;
    display: block;
    overflow: hidden;
    &.style1{
        .articeItm{
            display: flex;
            flex-direction: row;
            padding: 15px 15px;
            border-bottom: 1px solid #F1F1F1;
            background: #FFFFFF;
            ._desc{
                width: 80%;
                padding-right: 10px;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            ._title{
                display: block;
                margin-bottom: 15px;
                color: black;
                line-height: 20px;
                font-size: 15px;
            }
            ._time{
                font-size: 12px;
                color: #999;
            }
            ._image{
                width: 80px;
                height: 80px;
            }
        }
    }
    &.style2{
        .articeItm{
            display: flex;
            flex-direction: column-reverse;
            background: #FFFFFF;
            margin-bottom: 20px;
            
            ._desc{
                display: flex;
                flex-direction: column;
                padding: 10px;
            }
            ._title{
                font-size: 16px;
                color: black;
                font-weight: bold;
            }
            ._time{
                display: inline-block;
                margin-top: 10px;
                font-size: 12px;
                color: black;
            }
            ._image{
                width: 100%;
                height: 200px;
            }
        }
    }
    &.style3{
        .articeItm{
            display: flex;
            flex-direction: column-reverse;
            position: relative;
            margin-bottom: 20px;
            background: #FFFFFF;
            ._desc{
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                color: #fff;
                padding: 5px;
                background: rgba(0,0,0,.5);
            }
            ._image{
                width: 100%;
                height: 150px;
            }
        }
    }
}
.diyCompany{
    ._header{
        background: #f3514f;
        height: 100px;
        position: relative;
    }
    ._headerWrp{
        position: absolute;
        top: 45px;
        padding: 15px;
        left: 10px;
        right: 10px;
        border-radius: 3px;
        background: #fff;
        ._headerCon{
            display: flex;
            flex-direction: row;
            align-items: center;
            img {
                width: 40px;
                height: 40px;
                border-radius: 2px;
                margin-right: 10px;
            }
        }
    }
    ._body{
        position: relative;
        overflow: hidden;
        padding: 10px;
    }
    ._conItm{
        position: relative;
        padding: 10px 15px;
        border-radius: 3px;
        background: #fff;
        margin-bottom: 0;
    }
    ._conStyle{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    ._introItm{
        margin-top: 10px;
        font-size: 14px;
        display: inline-block;
    }
}
.btmNavi{
    margin: 10px 0;
    background: #fff;
    padding: 5px 0;
    text-align: center;
    white-space: nowrap;
    ._itmWrp{
        width: 22%;
        display: inline-block;
        text-align: center;
    }
    ._itmCon{
        position: relative;
        display: inline-block;
        width: 60px;
        text-align: center;
        border-radius: 100%;
        border: 1px solid;
        height: 60px;
    }
    ._itmPos{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    ._itmIcn{
        font-size: 28px;
        display: block;
        line-height: 30px;
        margin-top: 5px;
    }
    ._itmText{
        display: inline-block;
        white-space: nowrap;
        font-size: 12px;
        transform: scale(.9);
    }
}
.diyFrm{
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    ._frmItm{
        position: relative;
        padding: 6px 15px 10px;
        margin-bottom: 10px;
        border: 1rpx solid #f5f5f5;
        overflow: hidden;
        ._frmDis{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            ._frmItmCon{
                font-size: 14px;
                flex-basis: 85%;
            }
        }
    }
}
.wxPanel{
    width: 100%;
    background: #fff;
    color: #333;
    p{
        margin-top: 0;
        margin-bottom: 0;
    }
}
